package com.dlc.apk.receiver

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import com.dlc.apk.ui.activity.MainActivity

class BootBroadcastReceiver : BroadcastReceiver() {
    override fun onReceive(context: Context, intent: Intent) {
        val it = Intent(context, MainActivity::class.java)
        it.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
        context.startActivity(it)
    }
}